﻿using Microsoft.Practices.Prism.PubSubEvents;
using Songhay.DataAccess.Models;

namespace Songhay.Mvvm.Models
{
    /// <summary>
    /// Defines core Prism “events” 
    /// </summary>
    public static class CorePrismEvents
    {
        /// <summary>
        /// The model event for document
        /// </summary>
        public static readonly PubSubEvent<ModelEventPayload<Document>> ModelEventForDocument = new PubSubEvent<ModelEventPayload<Document>>();

        /// <summary>
        /// The model event for fragment
        /// </summary>
        public static readonly PubSubEvent<ModelEventPayload<Fragment>> ModelEventForFragment = new PubSubEvent<ModelEventPayload<Fragment>>();

        /// <summary>
        /// The model event for segment
        /// </summary>
        public static readonly PubSubEvent<ModelEventPayload<Segment>> ModelEventForSegment = new PubSubEvent<ModelEventPayload<Segment>>();
    }
}
